from fastapi import FastAPI
from app.api.user import router as user_router

app = FastAPI(title="User Management API", version="1.0.0")

# 注册路由
app.include_router(user_router, prefix="/api")

if __name__ == "__main__":
    import uvicorn
    uvicorn.run(app, host="0.0.0.0", port=8000)
